home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / mus / play / multiplsr.lha / prefswinspec.gui < prev    next >
Text File  |  1992-09-14  |  4KB  |  179 lines

  1. /*
  2.  * MultiPlayer
  3.  * Copyright (C) 1992 Bryan Ford
  4.  *
  5.  * This program is free software; you can redistribute it and/or modify
  6.  * it under the terms of the GNU General Public License as published by
  7.  * the Free Software Foundation; either version 2 of the License, or
  8.  * (at your option) any later version.
  9.  *
  10.  * This program is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program; if not, write to the Free Software
  17.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  *
  19.  * I (the author of MultiPlayer) can be contacted on the Internet at
  20.  * "bryan.ford@m.cc.utah.edu".  See "Player.doc" for other addresses.
  21.  *
  22.  * $Id: prefswinspec.gui,v 5.1 92/09/14 18:38:39 BAF Exp $
  23.  *
  24.  */
  25.  
  26. window xdef _prefswinspec
  27.     screen import _playerscreen
  28.     title "MultiPlayer Preferences"
  29.     screentitle _copyright
  30.     left import _prefswinleft top import _prefswintop
  31.     CYCLEIDCMP BUTTONIDCMP checkboxidcmp CLOSEWINDOW MOUSEBUTTONS REFRESHWINDOW
  32.     DRAGBAR DEPTHGADGET CLOSEGADGET SIMPLE_REFRESH RMBTRAP rawkey
  33.   end
  34.  
  35. button
  36.     call _gui_prefswinmainfont
  37.     label "Main font"
  38.   end
  39.  
  40. text
  41.     export _prefswinmainfontgad
  42.     border minchars 30
  43.   end
  44.  
  45. number
  46.     export _prefswinmainfontsizegad
  47.     border minchars 4 endrow
  48.   end
  49.  
  50. button
  51.     call _gui_prefswinlistfont
  52.     label "List font"
  53.     attr _listattr
  54.   end
  55.  
  56. text
  57.     export _prefswinlistfontgad
  58.     border minchars 30
  59.     attr _listattr
  60.   end
  61.  
  62. number
  63.     export _prefswinlistfontsizegad
  64.     border minchars 4 endrow
  65.     attr _listattr
  66.   end
  67.  
  68. cycle
  69.     export _prefswinplaygad
  70.     call _gui_prefswinplay
  71.     label "Play" labelleft
  72.     options array "In Sequence" "In Random Order" "Once" "Over and Over" "Through sequence once" null end
  73.   end
  74.  
  75. cycle
  76.     export _prefswinshowgad
  77.     call _gui_prefswinshow
  78.     label "Show" labelleft
  79.     options array "Nothing" "Clock" "Sequence (from 0)" "Sequence (from 1)" null end
  80.     endrow
  81.   end
  82.  
  83. string
  84.     export _prefswinhotkeygad
  85.     call _gui_prefswinhotkey
  86.     label "Hot key"
  87.     labelleft
  88.     minchars 30 maxchars 30
  89.     disabled
  90.     endrow
  91.   end
  92.  
  93. checkbox
  94.     export _prefswinspectrumgad
  95.     call _gui_prefswinspectrogram
  96.     label "Spectrogram" labelright
  97.   end
  98.  
  99. checkbox
  100.     export _prefswinnotegad
  101.     call _gui_prefswinnote
  102.     label "Note Scroller" labelright
  103.     endrow
  104.   end
  105.  
  106. checkbox
  107.     export _prefswinscopegad
  108.     call _gui_prefswinscope
  109.     label "StereoScope" labelright
  110.   end
  111.  
  112. checkbox
  113.     export _prefswinqscopegad
  114.     call _gui_prefswinqscope
  115.     label "QuadraScope" labelright
  116.     endrow
  117.   end
  118.  
  119. checkbox
  120.     export _prefswinpausefadegad
  121.     call _gui_prefswinpausefade
  122.     label "Fade on Stop/Continue" labelright
  123.   end
  124.  
  125. checkbox
  126.     export _prefswincontgad
  127.     call _gui_prefswincont
  128.     label "Continue program on error" labelright endrow
  129.   end
  130.  
  131. checkbox
  132.     export _prefswinkeepgad
  133.     call _gui_prefswinkeep
  134.     label "Save program with prefs" labelright
  135.   end
  136.  
  137. checkbox
  138.     export _prefswinnastygad
  139.     call _gui_prefswinnasty
  140.     label "Nasty audio" labelright endrow
  141.   end
  142.  
  143. checkbox
  144.     export _prefswinicongad
  145.     call _gui_prefswinicon
  146.     label "Icon for immediate playing" labelright
  147.   end
  148.  
  149. checkbox
  150.     export _prefswiniconagad
  151.     call _gui_prefswinicona
  152.     label "Icon for adding to program" labelright endrow
  153.   end
  154.  
  155. button
  156.     call _gui_prefswinsave
  157.     label "Save"
  158.   end
  159.  
  160. button
  161.     call _gui_prefswinok
  162.     label "Close"
  163.   end
  164.  
  165. endcap
  166.  
  167. fontrequester xdef _prefswinfontspec
  168.     window struct 0
  169.     title struct 4
  170.     fixedwidth struct 8
  171.     font struct 12 size struct 16
  172.     donectrlf
  173.     left import fontreqleft
  174.     top import fontreqtop
  175.     width import fontreqwidth
  176.     height import fontreqheight
  177.   end
  178.  
  179.